*{
    margin: 0;
    padding: 0;
}
html,body{
    width: 100%;
    height: 100%;
    user-select: none;
}
// 公共类
.hidden{
    display: none;
}

// 动画

@keyframes rotate {
    0% {transform: rotate(0deg)}
    50% {transform: rotate(180deg)}
    100% {transform: rotate(360deg)}
}
@keyframes flotar {
    0% {transform: translateY(0px)}
    50% {transform: translateY(20px)}
    100% {transform: translateY(0px)}
}
.flow {
    animation: flotar 4s ease-in-out infinite;
}
.rotate {
    animation: rotate 40s linear infinite;
}




/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/  
::-webkit-scrollbar  
{  
    width: 0px;  /*滚动条宽度*/
    height: 16px;  /*滚动条高度*/
}  
  
/*定义滚动条轨道 内阴影+圆角*/  
::-webkit-scrollbar-track  
{  
    // -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);  
    border-radius: 10px;  /*滚动条的背景区域的圆角*/
    background-color: rgba(235, 235, 235,0);/*滚动条的背景颜色*/  
}  
  
/*定义滑块 内阴影+圆角*/  
::-webkit-scrollbar-thumb  
{  
    border-radius: 10px;  /*滚动条的圆角*/
    // -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);  
    background-color: rgb(233, 171, 171);  /*滚动条的背景颜色*/
} 
div#app-music {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(135deg, rgb(233, 207, 167), rgb(201, 136, 136));
    display: flex;
    align-items: center;
    justify-content: center;
    --themeColor: rgb(201, 136, 136);
    div.app-video-box {
        div.app-mask {
            position: fixed;
            width: 100%;
            height: 100%;
            z-index: 1;
            background: rgba(0, 0, 0, 0.623);
        }
        .app-video-close{
            position: absolute;
            width: 40px;
            height: 40px;
            top: 100px;
            left: 1560px;
            font-size: 40px;
            color: #fff;
            z-index:10;
            cursor: pointer;
        }
        video {
            position: absolute;
            width: 1280px;
            height: 720px;
            top: 50%;
            left: 50%;
            transform: translate( -50%,-50%);
            z-index: 2;
            box-shadow: 0px 8px 20px rgba(1,1,1,.5),
            0px 8px 600px rgba(1,1,1,.8);
            outline: none;
        }
      }


    div#app-music-box {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        position: relative;
        div.search-bar-input {
            position: absolute;
            top: 50px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1;
            input {
                width: 300px;
                height: 30px;
                border-radius: 8px;
                border: 1px solid rgb(218, 109, 109);
                box-shadow: 0px 4px 20px rgba(1,1,1,.2);
                outline: none;
                text-indent: 1em;
                background: url(./imgs/zoom.png) 275px center no-repeat #fff;
            }
          }
          div.app-music-content-player {
              width: 300px;
              height: 160px;
              position: absolute;
              top: 510px;
              left: 50%;
              transform: translateX(-50%);
              border-radius: 8px;
              .app-music-content-player-cover{
                  width: 200px;
                  height: 40px;
                  position: absolute;
                  bottom: 4px;
                  left: 50px;
                  border-radius: 50%;
                  background-size: 100% 100%;
                //   transform: translateX(-50%);
                  box-shadow: 2px 4px 10px rgba(1,1,1,.3);
                  transform-origin: center center;
                  transition: height .2s;
              }
              .app-music-content-player-cover.length{
                  height: 200px;
              }
              div.app-music-content-player-audio {
                position: absolute;
                bottom: 0;
                audio.audio-player {
                    outline: none;
                    height: 40px;
                    border-radius: 20px;
                    box-shadow: 0px 4px 20px rgba(1,1,1,.2);
                }
            }
        }
                .lrcBox{
                    position: absolute;
                    top: 100px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 400px;
                    height: 340px;
                    overflow: hidden;
                    // background: red;
                    color: rgb(131, 90, 90);
                    font-size: 12px;
                    font-weight: 100;
                    line-height: 24px;
                    text-align: center;
                    transition: color .2s, font-size .2s,font-weight .2s;
                    .lrcWrap{
                        position: relative;
                        transition: top .4s;
                        .lrcText{
                            height: 24px;
                        }
                    }
                    .current{
                        color: #fff;
                        font-size: 18px;
                        font-weight: 500;
                    }
                }
      
          div.app-music-content-list {
            width: 300px;
            height: 525px;
            position: absolute;
            top: 90px;
            left: 50%;
            transform: translateX(-50%);
            background: rgb(255, 255, 255);
            border-radius: 8px;
            box-shadow: 0px 4px 20px rgba(1,1,1,.2);
            overflow-x: hidden;
            transition: height .2s;
            div.app-music-songs-list {
                width: 100%;
                height: 100%;
                font-size: 10px;
                color: #333;
                line-height: 25px;
                div.app-music-songs-list-item {
                    width: 100%;
                    height: 25px;
                  div.player-audio {
                    width: 30px;
                    height: 25px;
                    box-sizing: border-box;
                    float: left;
                    background: url(imgs/table.png) -17px -20px no-repeat;
                    position: relative;
                    cursor: pointer;
                  }
              
                  div.player-name {
                    width: 240px;
                    height: 25px;
                    box-sizing: border-box;
                    float: left;
                    text-indent: .5em;
                  }
              
                  div.player-mv {
                    width: 30px;
                    height: 20px;
                    margin-top: 2px;
                    box-sizing: border-box;
                    float: right;
                    background: url(imgs/table.png) left -45px;
                    cursor: pointer;
                  }
                }
              }
              div.app-music-songs-list-item:nth-child(odd){
                  background: rgb(255, 243, 243);
              }
          }
          div.app-music-content-list.length{
              height: 0px;
          }
        
          div.app-music-content-comment {
            width: 100%;
            height: 100%;
            position: fixed;
            div.app-music-content-comment-box {
                width: 200px;
                max-height: 200px;
                position: absolute;
                top: 50px;
                left: 50px;
                padding: 30px 10px 20px 10px;
                color: rgb(131, 90, 90);
                background: rgba(255, 255, 255, .2);
                box-shadow: 2px 4px 10px rgba(1,1,1,0);
                border-radius: 10px;
                transition: transform .4s,background .4s,color .4s,border-color .4s;
                div.commentWrap{
                    width: 100%;
                    height: 100%;
                    div.imageWrapper {
                        width: 40px;
                        height: 40px;
                        position: absolute;
                        top: -14px;
                        left: 10px;
                        border-radius: 50%;
                        overflow: hidden;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                      }
                    span.nick-name {
                        width: 140px;
                        height: 40px;
                        position: absolute;
                        top: 4px;
                        left: 60px;
                        font-size: 14px;
                    }
                    span.comment-content {
                        width: 180px;
                        max-height: 112px;
                        font-size: 12px;
                    }
                }
              }
              div.app-music-content-comment-box:hover{
                  transform: scale(1.2);
                  color: rgb(48, 48, 48);
                  background: rgba(255, 255, 255, 1);
                  box-shadow: 2px 4px 10px rgba(1,1,1,.3);
                  z-index: 11;
              }
          }
    }
    .background-fx{
        width: 100%;
        height: 100%;
    }
}